/*
 Project: Zcode
 
 Copyright (C) 2011 Ivan Vučica
 
 Author: Ivan Vučica
 
 This application is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.
 
 This application is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.
 
 You should have received a copy of the GNU Lesser General Public
 License along with this application; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */

#ifndef _PBXPROJECT_H_
#define _PBXPROJECT_H_

#import <Foundation/Foundation.h>

#import "ZCPathedItem.h"

@class ProjectDocument;
@class PBXGroup;
@class ZCPBXTargetList;
@class XCConfigurationList;

@interface PBXProject : ZCPathedItem
{

  XCConfigurationList *buildConfigurationList;
  NSString *compatibilityVersion;
  NSString *developmentRegion;
  BOOL hasScannedForEncodings;
  NSArray *knownRegions;
  PBXGroup *mainGroup_;
  NSString *projectDirPath;
  NSString *projectRoot;
  NSMutableArray *targets_;
  ZCPBXTargetList *targetList_; // contains PBXNativeTarget objects (possibly PBXTarget -- and PBXNativeTarget derived from that)
}

@property (readwrite, retain) PBXGroup* mainGroup;
@property (readwrite, retain) NSMutableArray* targets;
@property (nonatomic, retain) ZCPBXTargetList* targetList;
@property (nonatomic, retain) XCConfigurationList* buildConfigurationList;

@property (readonly) NSString* fileName;
@end

#endif // _PBXPROJECT_H_

